package cn.zhf.shop.mapper;

import cn.zhf.shop.entity.count.SumByOrg;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;
@Mapper
public interface SumByOrgMapper {
    int insert(SumByOrg record);
    int insertSelective(SumByOrg record);
    List<SumByOrg> selectAll();
    SumByOrg selectAllByOrgId(Integer orgId);
    List<SumByOrg> selectAllS();
    SumByOrg selectAllByOrgIdS(Integer orgId);
    List<SumByOrg> selectAllNS();
    SumByOrg selectAllByOrgIdNS(Integer orgId);

    int totalOrdersAll();
    int totalOrdersNS();
    int totalOrdersS();
    BigDecimal totalOrdersPrice();

}
